<%= simple_form_for [:admin, @city_channel], :defaults => { :input_html => { :class => "form-control" } }, remote: true, html: {class: 'form-horizontal'} do |f| %>
  <fieldset>
    <legend><%= title %></legend>
    <%= f.input :city_name, label: '城市', prompt: '请选择已开通城市' , collection: City.open.collect{|c|[c, c]} %>
    <%= f.input :mode, label: '模式', collection: ['dvb', 'dtmb', 'cmmb'], as: :radio_buttons, item_wrapper_class: 'radio-inline',:input_html => { :class => "" }  %>
    <%= f.input :seq, label: '排列顺序', collection: 0..10 %>
    <%= f.input :published, label: '是否启用', collection: [['是', true], ['否', false]], as: :radio_buttons, item_wrapper_class: 'radio-inline',:input_html => { :class => "" } %>
    <%# f.input :kind, as: :hidden, input_html: {value: "television"}  %>
    <%= f.button :wrapped, value: '提交' %>
  </fieldset>
<% end %>
<%= javascript_include_tag "prevent_label.js" %>